package com.example.partner.service;

import com.example.partner.common.BaseResponse;
import com.example.partner.model.domain.Im;
import com.example.partner.model.request.TeamAddRequest;
import java.util.List;

import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;

public interface ImService {
    @POST("api/im")
    Call<BaseResponse<Boolean> >save(@Body Im im);
    @GET("api/im/history")
    Call<BaseResponse<List<Im>>> findAllInit(@Query("uid") Long uid,@Query("toid") Long toid);
}
